package com.match.competition_apply.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;
import java.util.List;

import com.match.entity.baseEntity.Student;
import com.match.entity.baseEntity.Teacher;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AdiosF
 * @since 2021-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CompetitionSignUp对象", description="")
public class CompetitionSignUp implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "队伍编号")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "第一指导老师")
    private String adviserOne;

    @ApiModelProperty(value = "第二指导老师")
    private String adviserTwo;


    @ApiModelProperty(value = "组别")
    private String groupId;

    @ApiModelProperty(value = "参赛作品名称")
    private String workName;

    @ApiModelProperty(value = "作品分类")
    private String workGroup;

    @ApiModelProperty(value = "作品小类")
    private String workSubclass;

    @ApiModelProperty(value = "学生")
    private String studentNumber;

    @ApiModelProperty(value = "认定学分")
    private String affirmCredit;

    @ApiModelProperty(value = "认定成绩")
    private String affirmGrade;

    @ApiModelProperty(value = "获奖等级")
    private String acquisitionLever;

    @ApiModelProperty(value = "证书编码")
    private String certificateCoding;

    @ApiModelProperty(value = "是否获奖")
    private Integer winprize;

    @ApiModelProperty(value = "替换课程代码")
    private String replaceNumber;

    @ApiModelProperty(value = "是否已替换课程")
    private Integer isorReplace;

    @ApiModelProperty(value = "状态")
    private Integer states;

    @ApiModelProperty(value = "组织员职工号")
    private String teacherNumber;

    @ApiModelProperty(value = "驳回意见")
    private String backInfo;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "获奖时间")
    private Date carryTime;

    @ApiModelProperty(value = "项目对象")
    @TableField(exist = false)
    private CompetitionInfo competitionInfo;


    @ApiModelProperty("组织员")
    @TableField(exist = false)
    private Teacher orderTeacher;

    @ApiModelProperty(value = "第一指导老师")
    @TableField(exist = false)
    private Teacher oneTeacher;

    @ApiModelProperty(value = "第二指导老师")
    @TableField(exist = false)
    private Teacher twoTeacher;


    @ApiModelProperty("队长")
    @TableField(exist = false)
    private Student studentLeader;


    @ApiModelProperty(value = "组员姓名")
    @TableField(exist = false)
    private String groupMembersName;


    @ApiModelProperty("组员学号")
    @TableField(exist = false)
    private List<String> groupMembersNumbers;

}
